package org.dromara.business.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.business.domain.BusinessConfig;
import org.dromara.common.mybatis.core.domain.BaseEntity;

/**
 * 业务参数配置业务对象 business_config
 *
 * @author zlj
 * @date 2024-05-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BusinessConfig.class, reverseConvertGenerate = false)
public class BusinessConfigBo extends BaseEntity {

    /**
     * 参数主键
     */
    private Long businessConfigId;
    /**
     * 参数名称
     */
//    @NotBlank(message = "参数名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String configName;

    /**
     * 参数键名
     */
//    @NotBlank(message = "参数键名不能为空", groups = {AddGroup.class})
    private String configKey;
    /**
     * 类型 类型 1:文字 2:图片 3:富文本 4:视频 5:开关 1开0关
     */
    private String type;
    /**
     * 参数键值
     */
//    @NotBlank(message = "参数键值不能为空", groups = {AddGroup.class, EditGroup.class})
    private String configValue;
    /**
     * 类型 类型 1:文字 2:图片 3:富文本 4:视频 5:开关 1开0关
     */
    private String type1;
    /**
     * 参数键值
     */
    private String configValue1;
    /**
     * 排序号(值越小越靠前)
     */
//    @NotNull(message = "排序号(值越小越靠前)不能为空", groups = {AddGroup.class, EditGroup.class})
    private Integer sortNo;

    /**
     * 备注
     */
    private String remark;


}
